home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- abstract class Spring$AbstractSpring extends Spring {
- protected int size = Integer.MIN_VALUE;
-
- public int getValue() {
- return this.size != Integer.MIN_VALUE ? this.size : this.getPreferredValue();
- }
-
- public final void setValue(int var1) {
- if (this.size != var1) {
- if (var1 == Integer.MIN_VALUE) {
- this.clear();
- } else {
- this.setNonClearValue(var1);
- }
-
- }
- }
-
- protected void clear() {
- this.size = Integer.MIN_VALUE;
- }
-
- protected void setNonClearValue(int var1) {
- this.size = var1;
- }
- }
-